package com.shijunhao.graduation.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author: shijunhao
 * @date: 2022/3/16 16:15
 * @description:
 */
public class DifferentTypeEvent<T> extends ApplicationEvent {
    public DifferentTypeEvent(T source) {
        super(source);
    }

    @Override
    public T getSource() {
        return (T) super.getSource();
    }
}
